package com.online.dao;

import com.online.entity.StudentClass;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentClassMapper {

    List<StudentClass> selectClassByTeacherNumber(String teacherNumber);

    StudentClass selectAClass(@Param("teacherNumber") String teacherNumber, @Param("className") String className);

    int deleteAClass(Integer classId);

    int insertARecord(StudentClass studentClass);

    StudentClass selectByStudentClassId(Integer classId);

    List<Integer> selectIdByClassName(String className);

    List<StudentClass> selectAllClass();

    StudentClass selectByTeacherNumberAndClassName(@Param("teacherNumber") String teacherNumber,@Param("className") String className);


}
